public class NumberRack {
        public static void main(String[] args)
        {
            NumberList rack = new NumberList();
            rack.add(new Number(14));
            rack.add(new Number(7));
            rack.add(new Number(23));
            rack.add(new Number(1));
            System.out.println(rack);

            rack.sort();
            System.out.println(rack);
        }
    }


